home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 24 / AACD 24.iso / AACD / Online / Epic4 / share / epic / help / 6_functions / substr < prev    next >
Text File  |  2001-03-21  |  597b  |  21 lines

  1. Synopsis:
  2.    $substr(<substring> <search string>)
  3.    $rsubstr(<substring> <search string>)
  4.  
  5. Technical:
  6.    These functions search for <substring> in <search string> and return the
  7.    index to it. rsubstr is identical to substr, except it searches from
  8.    the end to the beginning.
  9.  
  10. Practical:
  11.    They can be used to search for specific things in output from a server,
  12.    or as an alternative to $match(*substring* searchstring).
  13.  
  14. Returns:
  15.    -1 if <substring> not found in <search string>
  16.    index to <substring> in <search string> if found
  17.  
  18. See Also:
  19.    match(6); rmatch(6)
  20.  
  21.